package com.juqimiao.linn.extension.mock.customer.commerce.cocase;

import com.juqimiao.linn.extension.Extension;
import com.juqimiao.linn.extension.mock.customer.Customer;
import com.juqimiao.linn.extension.mock.customer.CustomerSubscribeCheckExtPt;
import com.juqimiao.linn.transfer.Response;
import com.juqimiao.linn.transfer.query.builders.ResponseBuilder;

//@Extension(
//        Interface = CustomerSubscribeCheckExtPt.class,
//        BusinessId = "CO",
//        useCase = "CASE")
public class CustomerSubscribeCheckCoCaseExtension implements CustomerSubscribeCheckExtPt {
    @Override
    public Response checkAndSubscribe(Customer customer) {
        return ResponseBuilder.builder().success("COCASE").build();
    }
}
